﻿// Global namespace
var MasterStroke = MasterStroke || {};

define
(
    function ()
    {
        MasterStroke.Types = function ()
        {            
        };

        MasterStroke.Types.isNumber = function(n)
        {
            return typeof n === "number";
        }

        MasterStroke.Types.isFunction = function(func)
        {
            return typeof func === "function";
        }

        MasterStroke.Types.isArray = function(array)
        {
            return array instanceof Array;
        }
       
        return MasterStroke.Types;
    }
);